package com.lagou.service;

import com.lagou.pojo.Course;

import java.util.List;
import java.util.Map;

/**
 * 课程模块 CourseService接口层
 */
public interface CourseService {

    //查询课程列表信息
    public List<Course> findCourseList();

    //根据条件查询课程信息
    public List<Course> findByCourseNameAndStatus(String courseName,String status);

    public String saveCourseSalesInfo(Course course);

    //根据id查询
    public Course findCourseById(int id);

    //修改课程营销信息
    public String updateCourseSalesInfo(Course course);

    //修改程程状态
    public Map<String, Integer> updateCpurseStatus(Course course);
}
